﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Program
    {
        static void Main(string[] args)
        {

            Timer t = new Timer(Cw, null, 0, 1000);


            Console.ReadLine();

            Console.WriteLine("Hello World!");
        }
        static void Cw(object o)
        {
            Console.WriteLine($"====={DateTime.Now}");
            GC.Collect();
        }
    }
}
